home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-1.iso / Files / Unstuffers / Other Compression / MacGzip 0.21-src-c.sit / macgzip_021-src / macos / README (sources)
Encoding:
Text File  |  1994-04-30  |  3.2 KB  |  76 lines  |  [TEXT/ttxt]

  1. •  MacGzip 0.2.1 (gzip 1.2.4) -sources-
  2.  
  3.  Think C 5.0.4 sources for MacGzip 0.2.1
  4.  
  5. •  About the sources....
  6.  
  7. MacGzip was developed mainly from two sources: gzip 1.2.4 original distribution (by Jean-loup Gailly) and the example source code from Apple's  Developer CD Series. I must mention also Timothy Murphy ("tim@maths.tcd.ie" ), whose Posix Library por Think C was used to link chmod, fstat, utime and stat (all used in gzip.c).
  8.  
  9. (In MacGzip's readme, you can find a list of involuntary contyributions)
  10.  
  11. Part of the Apple source code comes from Snippets
  12. (Snippets are not tested by anyone, except (presumably) the author. They are NOT to be considered the final or best way to do something. They are just bits of code that the DTS engineers and others come up with and feel might be useful to developers. Think of Snippets as a "Bucket 'o Rusty Parts" that is provided for your browsing pleasure, NOT as polished examples. A Snippet should only be used in a commercial application if YOU are sure that it does what you want. )
  13. so, you can apply this to macgzip sources, too.
  14.  
  15. • The porting
  16.  
  17. The main folder contents GNU sources and documentation, as well as MacGzip project file and resources.  GNU sources has been modified. If you find some error here, probably is mine.
  18. If have used some #ifdef's in most of the changes, but not in all.
  19.  
  20. Changes:
  21.  
  22. -Standard output and error by alerts.
  23. -#define MAXSEG_64K (gzip works without this, but is required by unlzw.c in order to uncompress Unix .Z files
  24. -Add some type/creator stuff when creating files.
  25. -Insert here an there System Tasks to be nice with other applications and to update progress bar. (for example one call in the 'fill the input buffer' function)
  26. -other...
  27.  
  28. Note: Some of the command line options (-vlt) are not available just because they require aditional Macintosh interface; but using Think C console, they should work.
  29.  
  30.  
  31. The folder named 'macos' holds Posix Library (as it comes from maths.tcd.ie), and the sources of the interface; they can be reused with some minor changes for any other file processing (input file + few parameters -> output file).
  32.  
  33. There are several ways in which this source could be improved; here you are some:
  34.  
  35. -MacGzip.c:
  36.      Should accept High Level Events (this will change OpenFromFinder)
  37. -MacErrors.c:
  38.      Calert should use varargs!
  39. -SPDCProg.c:
  40.      The string on the movable modal window could be variable
  41.        (erase string's Rect before DrawString in DrawMovable)
  42.      Event loop in SPDSystemTask does not accept new files to process
  43. -thePrefs.c:
  44.       When an old prefs file is found, the new should be ajusted to match the old.
  45.       The balloon icon should be a button which enables/disables balloon help
  46.  
  47.  
  48. • The Bugs
  49.  
  50. gzip -a does not work (gzip -da works)
  51. when the file has been compressed in non-mac os, the date is incorrect (stat?)
  52.  
  53. • The Song
  54.  
  55. hablar como en un susurro 
  56. que el viento se quiere llevar
  57. se agita la ciudad dormida
  58. otoño no acaba jamás
  59. no tiembles por que esté oscuro
  60. si nada nos puede pasar
  61. te he visto mover con orgullo
  62. hey vamos, enséñame más
  63.  
  64. no ver la luz serena
  65. bajando tan suave y besar
  66. andar desnudos por la arena
  67. la sangre ya llega hasta el mar
  68.  
  69. no he vuelto a jurar otra vez
  70. desde que se fue
  71. no he vuelto a quedar otra vez
  72. en paz
  73.  
  74.         Ciudad Dormida (BB sin sed)
  75.  
  76.